import 'package:aweb5/generated/json/base/json_convert_content.dart';
import 'package:aweb5/generated/json/base/json_filed.dart';
import 'package:video_player/video_player.dart';
class FromlibMaterialEntity with JsonConvert<FromlibMaterialEntity> {
	String msg;
	FromlibMaterialData data;
	int code;
}

class FromlibMaterialData with JsonConvert<FromlibMaterialData> {
	@JSONField(name: "task_info")
	List<FromlibMaterialDataTaskInfo> taskInfo;
	@JSONField(name: "follow_id")
	int followId;
	@JSONField(name: "is_official")
	int isOfficial;
}

class FromlibMaterialDataTaskInfo with JsonConvert<FromlibMaterialDataTaskInfo> {
	int id;
	int type;
	String content;
	VideoPlayerController controller;
	int index;
	String linkTitle;
	String linkPrice;
	FromlibMaterialDataTaskInfo setController(VideoPlayerController controller){
		this.controller = controller;
		return this;
	}
}
